package com.dzjcloud.dzj.upms.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.dzjcloud.dzj.common.mybatis.bean.BeanModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <h3>dzj-cloud</h3>
 * <p>角色表（role）实体类</p>
 *
 * @author : DongZeJian
 * @date : 2022-10-26 16:05
 **/
@Data
@ApiModel("角色表")
public class Role extends BeanModel {

    @ApiModelProperty("主键")
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty("角色名称")
    private String name;

    @ApiModelProperty("角色编码")
    private String code;

    @ApiModelProperty("所属机构")
    private String orgId;
}
